package com.yf1706.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.yf1706.comm.RowMapper;

public class userRowMapper implements RowMapper<userbean>{

	@Override
	public userbean mapper(ResultSet rs) throws SQLException {
		userbean user=new userbean();
	    user.setUid(rs.getInt("uid"));
	    user.setUpwd(rs.getString("upwd"));
	    user.setUphone(rs.getString("uphone"));
		return user;
	}

}
